<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>


<%@ include file="/WEB-INF/views/shared/base/master/limitless/default/demo/contentHeader.jsp"%>


<%
	String contextPath = request.getContextPath();

    String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort() + contextPath;
    String addPath="/admin/rel/relative/relative_add";
    String savePath="/admin/rel/relative/save";
    String csspath=path+"/assets/css/";

%>

    <link rel="stylesheet" href="<%=csspath%>main.css"/>
<html>


<body>

<div >
    <div id="main">
    	<section id="introduction" class="main">

   
            <div id="div_intro_main">
                <header class="major">
                    <h2 style="float: left;">简介</h2>
              	</header>
                    
            </div>              

                <div id="div_intro_edit"  >
                    <t:form id="form_intro_edit" commandName="rel" action="<%savePath%>" method="post">
                        <div class="8u 12u$(medium)">
							<t:textarea rows="5" cols="5" path="relative_information" colClass="col-md-30"/>                           
                            <div class="row uniform">
                                <div class="6u 12u$(medium)">       
                                    <dl class="alt">
                                        <dt>姓:</dt>
                                        <dd><t:input type="text" path="relative_lastName"/></dd>
                                        <dt>名:</dt>
                                        <dd><t:input type="text" path="relative_firstName"/></dd>
                                        <dt>职业：</dt>
                                        <dd><t:input type="text" path="relative_job" /></dd>
                                        <dt>民族：</dt>
                                        <dd><t:input type="text" path="relative_nation" /></dd>
                                    </dl>
                                </div>
                                <div class="6u$ 12u$(medium)">       
                                    <dl class="alt">                                                   
                                        <dt>状态：</dt>
                                        <dd>
											<t:radiobutton path="relative_alive" value="0" onclick="deadinfo.style.display='block'">去世</t:radiobutton>	
											<t:radiobutton path="relative_alive" value="1" onclick="deadinfo.style.display='none';">健在</t:radiobutton>     
                                        </dd>
                                        <dt>生于：</dt>
                                        <dd><t:date path="relative_birthday"/></dd>
                                        <div id="deadinfo" style="display: none;">
                                            <dt>卒于：</dt>
                                            <dd><t:date path="relative_deathday"/></dd>
                                            <dt>葬于：</dt>
                                            <dd><t:input type="text" path="relative_buryAddress"/></dd>
                                        </div>
                                    </dl>
                                </div>
                                <div class="2u">
                                    <dt>籍贯：</dt>
                                </div>
                                <div class="5u">
                                    <dd>
                                        <t:input path="relative_province" />
                                    </dd>
                                </div>
                                <div class="5u$">
                                    <dd>
                                       <t:input path="relative_city"  />
                                    </dd>
                                </div>
                            </div>                     
                        </div>

                        <div class="4u$ 12u$(medium)" style="padding: auto;">  

                            <input type="file" path="path" class="file-input">      

                        </div>
                        <div style="padding-top: 10px;">
                            <input type="submit" class="button special small"  value="保存">
                            <input type="cancel" class="button small" onclick="intro_cancel();" value="取消">
                        </div>
                    </t:form>
                </div>
        </section>

		<section id="resource" class="main">
         
                <header class="major">
                        <h2 >影像</h2>
                </header>

                
                    <div class="tabbable">
                        <ul class="nav nav-tabs nav-tabs-top nav-justified">
                            <li class="active"><a href="#tab-image" data-toggle="tab">图片</a></li>
                            <li><a href="#tab-audio" data-toggle="tab">音频</a></li>
                            <li><a href="#tab-video" data-toggle="tab">视频</a></li>
                        </ul>
                    

	                    <div class="tab-content">
	                     	<div class="tab-pane active" id="tab-image">
	                            <form action="/admin/rel/relative/upload" class="dropzone" id="dropzone_accepted_files" method="post">
	                                <input type="submit" value="提交">
	                            </form>                                 
	                        </div>

	                        <div class="tab-pane" id="tab-audio">
	                            <form action="/admin/rel/relative/upload" class="dropzone" id="dropzone_accepted_files" method="post">
	                                <input type="submit" value="提交">
	                            </form>
	                        </div>

	                        <div class="tab-pane" id="tab-video">
	                            <form action="/admin/rel/relative/upload" class="dropzone" id="dropzone_accepted_files" method="post">
	                                <input type="submit" value="提交">
	                            </form>
	                        </div>
	                 	</div>
	                </div>


        </section>

















    </div>
</div>



</body>
</html>


<script src="../../../../assets/js/jquery.min.js"></script>
<script src="../../../../assets/js/jquery.scrollex.min.js"></script>
<script src="../../../../assets/js/jquery.scrolly.min.js"></script>
<script src="../../../../assets/js/skel.min.js"></script>
<script src="../../../../assets/js/util.js"></script>
<!--[if lte IE 8]>
<script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="../../../../assets/js/main.js"></script>

<%@ include file="/WEB-INF/views/shared/base/scripts/jqueryui.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formstyling.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formpickers.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/dialog.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/contentFooter.jsp"%>




<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/pages/forms/form_inputs.jsp"%>



<%@ include file="/WEB-INF/views/shared/base/master/limitless/default/demo/contentFooter.jsp"%>

<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/uploaders/uploaders.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/pages/fileUploader/uploader_dropzone.jsp"%>